package org.jeecg.modules.job.rms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.job.rms.entity.RmsOuttaskApply;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.job.ums.entity.UmsApplyLog;
import org.jeecg.modules.job.ums.entity.UmsApplyRead;

/**
 * @Description: 任务报名
 * @Author: jeecg-boot
 * @Date:   2022-12-18
 * @Version: V1.0
 */
public interface IRmsOuttaskApplyService extends IService<RmsOuttaskApply> {


    /**
     * 添加/更新
     * @param param
     * @return
     */
    boolean addOrUpdate(RmsOuttaskApply param);

    /**
     * 外包任务报名
     * @param param
     * @return
     */
    boolean applyTask(RmsOuttaskApply param);


    /**
     * 分页查询应聘记录
     */
    IPage<RmsOuttaskApply> findPageBySpec(Page<RmsOuttaskApply> page, RmsOuttaskApply param);

}
